package com.yunsc.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunsc.common.utils.PageUtils;
import com.yunsc.common.utils.Query;

import com.yunsc.dao.YunscUploadGroupDao;
import com.yunsc.module.entity.YunscUploadGroupEntity;
import com.yunsc.service.YunscUploadGroupService;


@Service("yunscUploadGroupService")
public class YunscUploadGroupServiceImpl extends ServiceImpl<YunscUploadGroupDao, YunscUploadGroupEntity> implements YunscUploadGroupService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<YunscUploadGroupEntity> page = this.page(
                new Query<YunscUploadGroupEntity>().getPage(params),
                new QueryWrapper<YunscUploadGroupEntity>()
        );

        return new PageUtils(page);
    }

}